package com.jia.blog.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiajia
 * @since 2020-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("m_video_type")
public class VideoType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 视频分类id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 视频分类名称
     */
    private String name;

    /**
     * 视频分类图片
     */
    private String image;

    /**
     * 视频分类父id
     */
    private Long cateId;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 是否显示
     */
    private Boolean status;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
